﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyNhaSach.Report
{
    public partial class frm_In_HDBL : Form
    {
        public frm_In_HDBL()
        {
            InitializeComponent();
        }

        public string mahdbl= "";
        private void frm_In_HDBL_Load(object sender, EventArgs e)
        {
            if (mahdbl != "")
            {
                In_HoaDonBanLe hdbl = new In_HoaDonBanLe();
                hdbl.SetParameterValue("mahd", mahdbl);
                crystalReportViewer1.ReportSource = hdbl;
                crystalReportViewer1.Refresh();
            }
            else
            {
                MessageBox.Show("Không tìm thấy mã hóa đơn!!!");
            }
        }
    }
}
